<?php

namespace Dcat\Admin\Example;

use Dcat\Admin\Extend\ServiceProvider;
use Dcat\Admin\Admin;

class ExampleServiceProvider extends ServiceProvider
{

	public function register()
	{

	}

	public function init()
	{
		parent::init();
        Admin::menu()->add(include __DIR__.'/menu.php', 0);
	}

	public function settingForm()
	{
		return new Setting($this);
	}
}
